﻿// using System.ComponentModel.DataAnnotations.Schema;

using System.Data.Entity.ModelConfiguration;

namespace lindyaka.Domain.Configurations
{
    public class Role : EntityTypeConfiguration<Entities.Role>
    {
        public Role()
        {
            HasKey(role => role.RoleId);
            // Property(role => role.RoleId).HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
            // Property(role => role.Name).IsRequired();
        }
    }
}